#include "junix.h"
using namespace std;

template<typename T>
bool  mycmp(const T &a, const T &b) {
	return a<b; 
}

template<
typename T,
typename Cmp
>
bool mycmp(T a,T b, Cmp& cmp) {
	return Cmp(a,b);
}

int main(int argc, char **argv)
{
	cout<<boolalpha<<mycmp(9,10)<<endl;
	std::greater<int> gt;
	cout<<boolalpha<<mycmp(9,10,gt)<<endl;
}
